package com.sikaryofficial.backend.domain.dto.req;

import com.sikaryofficial.system.api.model.att.AttachmentResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 产品图片保存请求入参
 *
 * @author qinjinyuan
 * @date 2023-10-30
 */
@Getter
@Setter
@ToString
@ApiModel(value = "产品图片保存请求入参", description = "产品图片保存请求入参")
public class ProductImageReq {
    private static final long serialVersionUID = 1L;
    /**
     * 品牌口味ID
     */
    @ApiModelProperty(value = "品牌口味ID")
    @NotNull(message = "brandTasteId can not be null")
    private Long brandTasteId;
    /**
     * 品牌封面图片
     */
    @ApiModelProperty(value = "品牌封面图片")
    private String coverUrl;

    @ApiModelProperty(value = "产品附件列表")
    private List<AttachmentResp> attachmentList;
}
